var host = window.location.hostname;
    host = 'http://' + host + '/site/';
var loading ="<img src='" +  host + 'images/loading.gif' + "'/>";
function addMovieChoice(id){
    $.ajax({
        url:host+'admincp/movie/choice/addnew.html',
        data:'id='+id,
        success:function(res){
            if(!res) alert(res);
            else alert(res);
        }
    });
}
function deleteMovieChoice(id){
    $.ajax({
        url:host+'admincp/movie/choice/delete.html',
        data:'id='+id,
        success:function(res){
            alert(res);
        }
    });
}